﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="WebSite.admin.index" %>

<%@ Register assembly="ExtAspNet" namespace="ExtAspNet" tagprefix="ext" %>

<%@ Register src="head.ascx" tagname="head" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
       <link href="css/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server">
    </ext:PageManager>
    <ext:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
        <Regions>
            <ext:Region ID="Region1" Margins="0 0 0 0" Height="62px" Width="100%" ShowBorder="false" ShowHeader="false"
                Position="Top" Layout="Fit" runat="server">
  
                <Items>
                    <ext:ContentPanel ShowBorder="false" ShowHeader="false" BodyStyle="background-color:#1C3E7E;"
                        ID="cpnHead" runat="server">
                        <div style="float:left;">
                        <div style="float:left; width:300px;">
                       
                            
                        </div>
                        <div  style="float:left;  margin-right:20px; color:#fff; margin-left:400px; ">
                          <a href="../default.aspx" target="_blank"> <font color=#ffffff>前台首页</font></a> 
                          &nbsp;&nbsp;用户，欢迎您

                          | 
                               <a  href="" onclick="location.reload()" style=" cursor:hand;color:#fff;" >刷新标签页</a>
                         
                        </div>

                         <div style="float:left; margin-top:1px; ">

                    
                          <asp:ImageButton ID="ImageButton1"  runat="server"  ImageUrl="images/buttom-01.gif" OnClick="ImageButton6_Click" />
                          </div>
                        </div>
                    </ext:ContentPanel>
                </Items>
            </ext:Region>
            <ext:Region ID="Region2" Split="true" EnableSplitTip="true" CollapseMode="Mini" Width="180px"
                Margins="0 0 0 0" ShowHeader="true" Title="管理菜单" EnableLargeHeader="false" Icon="Outline"
                EnableCollapse="true" Layout="Fit" Position="Left" runat="server">
                <Items>
                    <ext:Tree runat="server" EnableArrows="true"     
                     ShowBorder="false" ShowHeader="false" 
                        EnableIcons="false" AutoScroll="true" ID="treeMenu">
                    </ext:Tree>
                </Items>
            </ext:Region>
            <ext:Region ID="mainRegion" ShowHeader="false" Layout="Fit" Margins="0 0 0 0" Position="Center"
                runat="server">
                <Items>
                   <ext:TabStrip ID="mainTabStrip" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                      
                    </ext:TabStrip>
                </Items>
            </ext:Region>
        </Regions>
    </ext:RegionPanel>


    <%--<div style="display: none;">
        <script src="http://s20.cnzz.com/stat.php?id=3081012&web_id=3081012&show=pic" type="text/javascript"></script>
    </div>--%>
    <script type="text/javascript">

        var IDS = {

            treeMenu: '<%= treeMenu.ClientID %>',
            mainTabStrip: '<%= mainTabStrip.ClientID %>'
        };


        function openHelloExtAspNet() {
            var node = {
                attributes: {
                    href: "index.aspx"
                },
                text: "你好 ExtAspNet",
                id: "hello_extaspnet_example"
            };

            //window.parent.addExampleTab(node);
            window.parent.addExampleTab.apply(window.parent, [node]);
        }

    </script>
    <script src="js/default.js" type="text/javascript"></script>
  
    </form>

    </body>
</html>
